RAW2FBM

Section: User Commands (1)
Updated: 25-Jun-90
Index Return to Main Contents
 

NAME

raw2fbm - convert raw image files to FBM format (especially Digi-View files)  

SYNOPSIS

raw2fbm [ -t'title' -c'credits' -a<aspect>
          -w<width> -h<height> -d'<planes> ] < rawfile > fbm
 

DESCRIPTION

Converts a raw image (stored in row major order, or red/green/blue for color images) to fbm format. The defaults are width=640, height=400, depth=1, and aspect ratio=1.2 (the correct settings for output from the Amiga Digi-View package).  

OPTIONS

-d
depth, number of byte planes in image. Default is 1. Use -d3 for RGB color images.
-w
width, number of pixels per row, assumes 1 byte per pixel. The default is 640.
-h
height, number of rows in image. The default is 400.
-a
aspect ratio, the ratio of the height to width of a single pixel. The default is 1.2 (for Digi-View files).
-t'title'
title, specify a character string (up to 80 characters) to describe the image. The default is no title.
-c'credits'
credits or subtitle, specify a second character string (up to 80 characters) to describe the image. The default is no credit string.
 

EXAMPLE

Assume a Digi-View "raw" color image of a tiger, 640x400 pixels with 1.2 to 1 aspect ratio (EL Arts calls is 1.1):


    % raw2fbm -a1.2 -w640 -h400 -d3 
      -t'Tiger' -c'Joe' < tiger.raw > tiger.fbm

or in this case:


    % raw2fbm -d3 -t'Tiger' -c'Joe' < tiger.raw > tiger.fbm  

SEE ALSO

fbm(1) for general discussion, pbm(1) for PBM routines.  

BUGS

None known.  

HISTORY

Copyright (C) 1989,1990 by Michael Mauldin. Permission is granted to use this file in whole or in part for any purpose, educational, recreational or commercial, provided that this copyright notice is retained unchanged. This software is available to all free of charge by anonymous FTP and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlm@cs.cmu.edu
07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlm@cs.cmu.edu


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
BUGS
HISTORY

This document was created by man2html, using the manual pages.
Time: 01:28:15 GMT, December 05, 2024